package com.healthshare.busi.icenter;

import com.healthshare.parse.RetCodeParse;
import com.palmedia.framework.business.BaseBusi;
import com.palmedia.framework.myinterface.UiCallBack;
import com.palmedia.framework.parse.BaseParse;
/**
 * @author xudeliang
 * 发私信
 */
public class SendMsgBusi extends BaseBusi
{

	//请求路径：/center/sendsmg?
	private  String  tail = "center/sendsmg.php";
	
	
	public String userid = "";
	public String  content;//内容（post）utf-8

	
	public SendMsgBusi(UiCallBack bCallBack)
	{
		super(bCallBack);
	}
	
	public void iExecute()
    {
		reqParam = tail;
		
		String tmpdata = "userid="+userid+"&content="+content;
		buffer = tmpdata.getBytes();
    	super.iExecute();
    }
	
	@Override
	protected BaseParse parseResult(byte[] data)
	{
		RetCodeParse	ls = new RetCodeParse();
		ls.Parse(data);
		return ls;
	}
	
	
	
}
